#ifndef H_EREP_TABFRAME
#define H_EREP_TABFRAME

#include <QtCore/QtCore>
#include <QtGui/QtGui>
#include <QtWebKit/QtWebKit>

namespace erep
{

class Monitor;
class HistoryViewer;
class SystemWidget;

class TabFrame : public QTabWidget
{
    Q_OBJECT
public:
    TabFrame( QWidget* parent=0 );
    virtual ~TabFrame();
    
    bool loadDefault();
    
protected:
    virtual void closeEvent( QCloseEvent* event );
    
    Monitor* _monitor;
    HistoryViewer* _history;
    SystemWidget* _system;
};

}

#endif
